package com.fosu.web;

import org.mybatis.spring.annotation.MapperScan;
import org.mybatis.spring.annotation.MapperScans;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.ComponentScans;
import org.springframework.transaction.annotation.EnableTransactionManagement;

import java.util.TimeZone;


@SpringBootApplication(scanBasePackages = "com.fosu")
@MapperScan(basePackages = "com.fosu.dao")
@ComponentScan("com.fosu")
@EnableTransactionManagement
public class WebApplication {

    public static void main(String[] args) {

        SpringApplication.run(WebApplication.class, args);
    }

}
